#include <stdio.h>

int main(void)
{
	int i, j;
	double score[3][5], max;
	
	printf("Input 15 numbers:\n");
	for (i = 0; i < 3; i++)
		for (j = 0; j < 5; j++)
			scanf("%lf", &score[i][j]);
	max = score[0][0];
	for (i = 0; i < 3; i++)
		for (j = 0; j < 5; j++)
			if (score[i][j] > max)
				max = score[i][j];
	printf("max = %.1f\n", max);
	
	return 0;
}